#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
    int  i, j, k;
    printf("\n");
    for (i = 1; i <= 6; i++)
    {
        for (j = 1; j <= 20 - 2 * i; j++)
            printf(" ");
        for (k = 1; k <= i; k++)
            printf("%4d", i);
        printf("\n");
    }
    return 0;
}